<%@ page import="java.util.*" contentType="text/html; charset=utf-8" import="com.running.crm.model.SmsSend,com.running.util.StringUtils,com.running.util.DateUtils"%><%
String mtStartDate = StringUtils.varFormat(request.getParameter("mtStartDate"));
String mtEndDate = StringUtils.varFormat(request.getParameter("mtEndDate"));
String mtDstNum = StringUtils.varFormat(request.getParameter("mtDstNum"));
if ("".equals(mtStartDate)) {
	//mtStartDate = DateUtils.getDate("yyyy-MM")+"-01";
}
if ("".equals(mtEndDate)) {
	mtEndDate = DateUtils.getDate("yyyy-MM-dd");
}
%>
<html>
<head>
<link rel="stylesheet" type="text/css" href="web.css"></link>
</head>
<body>
<form name="companyForm" method="post" action="smsSend.do?method=list">
<table class="table" id="SearchTable">
<CAPTION>本次查询结果</CAPTION>
<tr>
<td>
本次查询结果：共发送了<%=((Map)request.getAttribute("data")).get("mtDstSize")==null?"0":((Map)request.getAttribute("data")).get("mtDstSize") %>条短信.
</td>
</tr>
</table>
<%
String dataset = (String)request.getAttribute("dataset");
out.println(dataset);
%>
<div class="jmesa">
<table class="table" id="SearchTable">
<CAPTION>查询数据</CAPTION>
<tr>
<td><font class="FieldItem">手机号码</font><br/><input type="text" name="mtDstNum" value="<%=mtDstNum %>"/></td>
<td><font class="FieldItem">开始日期</font><br/><input type="text" name="mtStartDate" class="defaultCalendar" _timeShow="false" value="<%=mtStartDate %>"/></td>
<td><font class="FieldItem">结束日期</font><br/><input type="text" name="mtEndDate" class="defaultCalendar" _timeShow="false" value="<%=mtEndDate %>"/></td>
</tr>
<tr>
<td><input type="submit" name="btnSubmit" value=" 查 询 " class="DefaultBtnSearch"/></td></tr>
</table>
</div>
</form>
<script type="text/javascript">
	function onInvokeAction(id) {
		setExportToLimit(id, '');
		createHiddenInputFieldsForLimitAndSubmit(id);
	}
</script>
</body>
</html>